load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "go-oidc",
    srcs = [
        "jose.go",
        "jwks.go",
        "oidc.go",
        "verify.go",
    ],
    importmap = "github.com/cockroachdb/cockroach/vendor/github.com/coreos/go-oidc",
    importpath = "github.com/coreos/go-oidc",
    visibility = ["//visibility:public"],
    deps = [
        "//vendor/github.com/pquerna/cachecontrol",
        "//vendor/golang.org/x/oauth2",
        "//vendor/gopkg.in/square/go-jose.v2:go-jose_v2",
    ],
)
